#!/bin/bash

rm -fr dist
npm run build:prod

rm -fr build-image/dist
mv dist build-image

cd build-image
./build-image.sh

cd ../k8s/yaml

kubectl delete -f gvcloud-manager-deployment.yaml
kubectl apply -f gvcloud-manager-deployment.yaml
